import Vue from 'vue'
//导入Svgicon组件
import SvgIcon from '@/components/SvgIcon'// svg component

// register globally
//全局注册 SvgIcon组件
//标签名 = 逐渐名
Vue.component('svg-icon', SvgIcon)



const req = require.context('./svg', false, /\.svg$/)
const requireAll = requireContext => requireContext.keys().map(requireContext)
requireAll(req)
